package com.bootdo.program.wallpaper.service;

import com.bootdo.program.wallpaper.dao.TzUserDao;
import com.bootdo.program.wallpaper.domain.TzUserDO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class TzUserService   {
	@Autowired
	private TzUserDao userDao;
	

	public TzUserDO get(Long id){
		return userDao.get(id);
	}

	public TzUserDO getByUserId(String userId){
		return userDao.getByUserId(userId);
	}


	public int update(TzUserDO user){
		return userDao.update(user);
	}
	

	
}
